/*
 * Copyright 2010, 2011 by the University of Richmond, Richmond, VA 23173
 * Written by Eric F. Palmer eric@ericfpalmer.com || epalmer@richmond.edu
 * And other contributors
 * http://www.richmond.edu/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Project files reside at http://code.google.com/p/files-2-exist-db
 */
package edu.richmond.is.webservices.files2exist;

/**
 * This constants file lists out the names
 * of the various elements used in f2xConfig.xml
 *
 * @version 1.0
 * @author lkesler
 */
public class ConfigConstants {

    public static final String SERVER               = "server";
    public static final String PORT                 = "port";
    public static final String APP_NAME             = "appName";
    public static final String LOG_FILE_DIR         = "logFileLocation";
    public static final String SSL                  = "useSSL";
    public static final String USER_NAME            = "username";
    public static final String PASSWORD             = "password";
    public static final String FILE_CHANGED_MILLI   = "fileChangeSleepTime";
    public static final String APP_SLEEP_MILLI      = "applicationSleepTime";
    public static final String PATH_ELMS            = "path";
    public static final String PATH_EXIST           = "existPath";
    public static final String PATH_CMS             = "src";
    public static final String PATH_RECURSE         = "recurse";
	public static final String FILE_PATTERN         = "filePattern";
    public static final String HTTP_METHOD          = "httpMethod";
    public static final String HEARTBEAT_COUNTER    = "heartbeatLoopCounter";
    public static final String DEFAULT_CONFIG_FILE  = "./config/f2xConfig.xml";
    public static final String DEFAULT_MIME_TYPES   = "./config/mime.types";
    public static final String DEFAULT_LOG4J_FILE   = "./config/log4j.properties";
	public static final String DEFAULT_PLUGIN_DIR   = "lib/plugins";
    public static final String CMD_CONFIG_PROP      = "-Dconfig=";
    public static final String LOGGER_HEARTBEAT     = "heartbeatlog";
    public static final String LOGGER_GENERAL       = "edu.richmond.is.webservices.files2exist";
    public static final String LOGGER_TRANSFER      = "transferlog";

    // adding transform settings for elements
    /* for now transforms will be hard coded into Files2Exist
     * eventually these will be loaded as dynamically loaded classes
     */
    public static final String TRANSFORM_TYPE      = "transformType";
    public static final String TRANSFORM_NAME      = "transformName";
    public static final String ALLOW_BINARY        = "allowBinary";
	public static final String CMD_PLUGINDIR_PROP  = "-Dplugin_dir=";
	public static final String CMD_MIME_TYPES      = "-Dmime_types=";
	
}
